package service;




import com.xgggh.redpack.domain.auth.Auth;
import com.xgggh.redpack.domain.auth.AuthReq;
import com.xgggh.redpack.domain.auth.Profile;

import io.reactivex.Flowable;
import model.Rsp;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.Headers;
import retrofit2.http.POST;
import retrofit2.http.PUT;

public interface ProfileService {


    /**
     * @title 获得个人信息
     * @return
     */
    @GET("profile/")
    Flowable<Rsp<Profile>> getProfile();

    /**
     * @title 更新个人信息
     * @return
     */
    @PUT("profile/")
    Flowable<Rsp<Profile>> putProfile();


}
